package com.jieshuibao.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.jieshuibao.model.db.OfficialAdvisory;
import com.jieshuibao.model.db.OfficialAdvisoryExample;

public interface OfficialAdvisoryMapper {
    int countByExample(OfficialAdvisoryExample example);

    int deleteByExample(OfficialAdvisoryExample example);

    int deleteByPrimaryKey(String uuid);

    int insert(OfficialAdvisory record);

    int insertSelective(OfficialAdvisory record);

    List<OfficialAdvisory> selectByExample(OfficialAdvisoryExample example);

    OfficialAdvisory selectByPrimaryKey(String uuid);

    int updateByExampleSelective(@Param("record") OfficialAdvisory record, @Param("example") OfficialAdvisoryExample example);

    int updateByExample(@Param("record") OfficialAdvisory record, @Param("example") OfficialAdvisoryExample example);

    int updateByPrimaryKeySelective(OfficialAdvisory record);

    int updateByPrimaryKey(OfficialAdvisory record);

    List<OfficialAdvisory> selectPage(OfficialAdvisoryExample example);
}